<!DOCTYPE html>
<html>
  <head>
    <title>IOT LAO WANG</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
  </head>
  <body>
    <h1>Control the Lamp</h1>
    <p>Click the buttons to change the image</p>
    <p>
      <img id="imageLamp" src="light_on.png">
    </p>
    <p>
      <button onclick="document.getElementById('imageLamp').src='light_on.png'">Turn on the light</button>
    </p>
    <p>
      <button onclick="document.getElementById('imageLamp').src='light_off.png'">Turn off the light</button>
    </p>
  </body>
</html>